#ifndef XRTCSDK_XRTC_RTC_MODULES_RTP_RTCP_RTP_HEADER_EXTENSION_H_
#define XRTCSDK_XRTC_RTC_MODULES_RTP_RTCP_RTP_HEADER_EXTENSION_H_
#include "xrtc/rtc/modules/rtp_rtcp/rtp_rtcp_defines.h"
#include <api/array_view.h>
#include <api/rtp_parameters.h>
namespace xrtc {
 
	class TransportSequenceNumber {
	public:
		static const RTPExtensionType kId = kRtpExtensionTransportSequenceNumber;
		static const size_t kValueSizeBytes = 2;
		static absl::string_view Uri() {
			return webrtc::RtpExtension::kTransportSequenceNumberUri;
		}


		static size_t ValueSize(uint16_t) {
			return kValueSizeBytes;
		}
		static bool Write(rtc::ArrayView<uint8_t>data, uint16_t transport_sequence_number);
	};

}//namespace xrtc


#endif //XRTCSDK_XRTC_RTC_MODULES_RTP_RTCP_RTP_HEADER_EXTENSION_H_
